<div class="row">
 <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
 
  <div class="span9">
   <div class="clearfix txtleft search span9" style="background-color:#f8f8f8; padding:10px; margin:10px 0px;"> 
	编辑
	</div>	 
      <form action="/<*$controller*>/opedit" method="post"   name="form1" class="form-horizontal">       
       <table class="table table-condensed table-bordered table-hover span4"> 
        <tr>
           <td class="span4">异常状态&nbsp;&nbsp;<input type="text" name="state" id="state" placeholder="<*$res.state*>" value="<*$res.state*>"/></td>
        </tr>
		<tr>
          <input type="hidden" name="id" id="id"  value="<*$res.id*>"/>
            <td  class="span4"><input type="submit" class="btn btn-success"  value="修改"  >&nbsp;&nbsp;<input type="button" class="btn btn-success" value="返回" onclick="history.back();" ></td>
        </tr>
      </table>
    </div>
    </form>
<script type="text/javascript"> 
function deleteit(id)
{
  if(confirm("确定要删除吗？")){
   window.location='/<*$controller*>/delete/id/'+id;
  }
} 
</script>
 </div> 